package com.xz.queue;

import com.xz.http.Client;

import java.util.concurrent.BlockingQueue;

/**
 * Created with IntelliJ IDEA.
 * User: Administrator
 * Date: 14-8-9
 * Time: 下午10:46
 * To change this template use File | Settings | File Templates.
 */
public class Product implements Runnable {
    public Product(BlockingQueue<String> urls) {
        this.urls = urls;
    }

    @Override
    public void run() {
        Client client = new Client("www.btspread.com");
    }

    private BlockingQueue<String> urls;

    public void setUrls(BlockingQueue<String> urls) {
        this.urls = urls;
    }
}
